package com.lagou.service;

import com.lagou.dao.DeptDao;
import com.lagou.domain.Dept;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

/**
 * @author 李树飞
 */

public interface DeptService {

    //查找所有
    public List<Dept> findAll();

    //根据id查找
    public Dept findById(Integer id);
}
